<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
API
</title>
</head>
<body bgcolor="#ffffff">
<h1>API</h1>
<p>
ZAP provides an Application Programming Interface (API) which allows you to interact with ZAP programmatically.
</p>
<p>
The API is available in JSON, HTML and XML formats.<br/>
A simple web UI which allows you to explore and use the API is available via the URL <a href="http://zap/">http://zap/</a> 
when you are proxying via ZAP, or via the host and port ZAP is listening on, eg 
<a href="http://localhost:8080/">http://localhost:8080/</a>.<br/>
</p>
<p>
By default only the machine ZAP is running on is able to access the API. You can allow other machines, that are able to use ZAP
as a proxy, access to the API. The API is configured using the <a href="../../ui/dialogs/options/api.html">Options API screen</a>.
</p>

<p>
The API provides access to most of the core ZAP features such as the 
 <a href="ascan.html">active scanner</a> and <a href="spider.html">spider</a>.<br/>
Future versions of ZAP will increase the functionality available via the APi.
</p>


<h2>See also</h2>
<table>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
<a href="../../ui/overview.html">UI Overview</a></td><td>for an overview of the user interface</td></tr>
<tr><td>&nbsp;&nbsp;&nbsp;&nbsp;</td><td>
<a href="concepts.html">Features</a></td><td>provided by ZAP</td></tr>
</table>

</body>
</html>
